* {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    text-decoration: none;
    color: #666;
}

a:hover {
    color: #1bc1a3;
}

body, hmtl {
    background: #ecf0f1;
    font-family: 'anton', sans-serif;
}

body {
    width: 600px;
    margin: 60px auto;
    background-color: #fff;
}

header, .banner, main {
    width: 100%
}

header {
    height: 145px;
    display: flex;
    justify-content: space-between;
    border-bottom: 5px solid #7d97ad;
}

header img {
    width: 347px;
    height: 145px;
}

.title {
    display: inline-block;
    height: 100%
}

.title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: right;
}

.title h3 {
    font-size: 36px
}

main p {
    font-size: 30px
}

.my_portfolio {
    width: 190px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.main-box {
    display: flex;
    justify-content: space-between;
}

.main-box li {
    float: right;
    display: inline-block;
    width: 190px;
}

.my_portfolio img {
    width: 190px;
    height: 130px;
}

.my_portfolio a {
    font-size: 10px;
    width: 190px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

#wrapper {
    width: 600px;
    margin: 50px auto;
    height: 400px;
    position: relative;
    color: #fff;
    text-shadow: rgba(0, 0, 0, 0.1) 2px 2px 0;
}

#slider-wrap {
    width: 600px;
    height: 400px;
    position: relative;
    overflow: hidden;
}

#slider-wrap ul#slider {
    width: 100%;
    height: 100%;

    position: absolute;
    top: 0;
    left: 0;
}

#slider-wrap ul#slider li {
    float: left;
    position: relative;
    width: 600px;
    height: 400px;
}

#slider-wrap ul#slider li > div {
    position: absolute;
    top: 20px;
    left: 35px;
}

#slider-wrap ul#slider li > div h3 {
    font-size: 36px;
    text-transform: uppercase;
}

#slider-wrap ul#slider li > div span {
    font-family: neucha, arial, sans serif;
    font-size: 21px;
}

#slider-wrap ul#slider li i {
    text-align: center;
    line-height: 400px;
    display: block;
    font-size: 90px;
    width: 600px;
    height: 400px;
}

/*btns*/
.btns {
    position: absolute;
    width: 50px;
    height: 40px;
    top: 50%;
    margin-top: -25px;
    line-height: 57px;
    text-align: center;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.1);
    z-index: 100;

    -webkit-user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -ms-user-select: none;

    -webkit-transition: all 0.1s ease;
    -moz-transition: all 0.1s ease;
    -o-transition: all 0.1s ease;
    -ms-transition: all 0.1s ease;
    transition: all 0.1s ease;
}

.btns:hover {
    background: rgba(0, 0, 0, 0.3);
}

#next {
    right: -50px;
    border-radius: 7px 0 0 7px;
}

#previous {
    left: -50px;
    border-radius: 0 7px 7px 7px;
}

#counter {
    top: 30px;
    right: 35px;
    width: auto;
    position: absolute;
}

#slider-wrap.active #next {
    right: 0;
}

#slider-wrap.active #previous {
    left: 0;
}

/*bar*/
#pagination-wrap {
    min-width: 20px;
    margin-top: 350px;
    margin-left: auto;
    margin-right: auto;
    height: 15px;
    position: relative;
    text-align: center;
}

#pagination-wrap ul {
    width: 100%;
}

#pagination-wrap ul li {
    margin: 0 4px;
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #fff;
    opacity: 0.5;
    position: relative;
    top: 0;

}

#pagination-wrap ul li.active {
    width: 12px;
    height: 12px;
    top: 3px;
    opacity: 1;
    box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 0;
}

/*header*/
h1, h2 {
    text-shadow: none;
    text-align: center;
}

h1 {
    color: #666;
    text-transform: uppercase;
    font-size: 36px;
}

h2 {
    color: #7f8c8d;
    font-family: neucha, arial, sans serif;
    font-size: 18px;
    margin-bottom: 30px;
}

/*animation*/
#slider-wrap ul, #pagination-wrap ul li {
    -webkit-transition: all 0.3s cubic-bezier(1, .01, .32, 1);
    -moz-transition: all 0.3s cubic-bezier(1, .01, .32, 1);
    -o-transition: all 0.3s cubic-bezier(1, .01, .32, 1);
    -ms-transition: all 0.3s cubic-bezier(1, .01, .32, 1);
    transition: all 0.3s cubic-bezier(1, .01, .32, 1);
}

.fa-image {
    background: url("../image/slack-for-ios-upload.jpg") no-repeat center;
    background-size: 600px 400px;
}

.fa-gears {
    background: url("../image/clay-pot.jpg") no-repeat center;
    background-size: 600px 400px;
}

.fa-sliders {
    background: url("../image/humans vs machines blog.jpeg") no-repeat center;
    background-size: 600px 400px;
}

.fa-arrow-right {
    background: url("../image/right.png") no-repeat center;
    background-size: 50px;
    width: 50px;
    height: 40px;
    display: inline-block;
}

.fa-arrow-left {
    background: url("../image/left.png") no-repeat center;
    background-size: 50px;
    width: 50px;
    height: 40px;
    display: inline-block;
}